package org.summerframework.component.security.oauth.wechat;

import org.summerframework.component.security.oauth.AccessToken;

/**
 * WeCatAccessToken
 *
 * @author 石超
 * @date 2016/3/25
 */
public class WechatAccessToken extends AccessToken {

    private String responseType = "code";

    private String scope = "snsapi_login";

    private String state;

    private String grantType = "authorization_code";

    public WechatAccessToken(String code) {
        super(code);
    }

    public String getResponseType() {
        return responseType;
    }

    public void setResponseType(String responseType) {
        this.responseType = responseType;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getGrantType() {
        return grantType;
    }

    public void setGrantType(String grantType) {
        this.grantType = grantType;
    }
}
